package com.googlecode.gwt4gae.server.menu;

import java.util.ArrayList;
import java.util.List;

import com.google.inject.Singleton;
import com.googlecode.gwt4gae.client.menu.MenuService;
import com.googlecode.gwt4gae.model.Menu;
import com.googlecode.gwt4gae.server.BaseServiceImpl;

@Singleton
public class MenuServiceImpl extends  BaseServiceImpl<Menu> implements MenuService {
	private static final long serialVersionUID = 6800238418584024036L;

	public List<Menu> getMenus() {
		List<Menu> result = new ArrayList<Menu>();
		Menu m1 = new Menu();
		m1.setId(100l);
		m1.setName("s_menu_01");
		m1.setUrl("com.googlecode.gwt4gae.client.user.UserAction");
		result.add(m1);
		return result;
	}

}
